<template>
    <div class="buyhead">
        <p @click="back">&lt; </p>
        <p>填写订单</p>
    </div>
</template>



<script>
export default {
  name: "BuyHead",
  data() {
    return {

    };
  },
  methods:{
      back(){
          this.$router.go(-1);
      }
  }
};
</script>



<style scoped>
    .buyhead{
        width: 100%;
        height: 0.42rem;
        position: fixed;
        top: 0;
        background-color: white;
        z-index: 3;
        border-bottom: rgb(218, 218, 218) solid 0.01rem;
    }
    .buyhead>p{
        display: inline-block;
        line-height: 0.42rem;
        position: absolute;
    }
    .buyhead>p:nth-child(1){
        font-size: 0.27rem;
        left:0.19rem ;
        top: -0.02rem;
    }
    .buyhead>p:nth-child(2){
        font-size: 0.18rem;
        left: 0.42rem;
    }
</style>